home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Utilities / Drop•MPSR / Drop•MPSR.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-12-03  |  761 b   |  42 lines  |  [TEXT/KAHL]

  1. /*
  2.     Drop•MPSR.h
  3.     
  4.     Header file for Drop•MPSR.c
  5.     
  6. */
  7.  
  8. #pragma once
  9.  
  10. #ifndef __H_Drop_MPSR__
  11. #define __H_Drop_MPSR__
  12.  
  13. typedef struct PREFSTRUCT{
  14.     OSType creator;
  15.     unsigned short left;
  16.     unsigned short right;
  17.     unsigned short top;
  18.     unsigned short bottom;
  19.     unsigned short shiftdown;
  20.     unsigned short shiftleft;
  21. } PrefRec,* PrefPtr,** PrefHand;
  22.  
  23. #ifdef __cplusplus
  24. extern "C"{
  25. #endif
  26.  
  27. void MPSR_Preflight(short count,Handle* dataHdl);
  28. void MPSR_Postflight(short count,Handle dataHdl);
  29. OSErr MPSR_Process(FSSpecPtr theSpec);
  30. Boolean MPSR_Init(void);
  31. void MPSR_Cleanup(void);
  32. void SetCreator(FSSpec* fsp,OSType type);
  33. void SetMPSRRes(FSSpecPtr myFSSPtr);
  34. void DSLocalError(StringPtr sp,OSErr err);
  35. void CopyRect(Rect* from,Rect* to);
  36.  
  37. #ifdef __cplusplus
  38. }
  39. #endif
  40.  
  41. #endif
  42.